home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / folderProps.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-07-25  |  9.2 KB  |  198 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
  2. <!--
  3.  
  4.  ***** BEGIN LICENSE BLOCK *****
  5.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  6.  
  7.  The contents of this file are subject to the Mozilla Public License Version
  8.  1.1 (the "License"); you may not use this file except in compliance with
  9.  the License. You may obtain a copy of the License at
  10.  http://www.mozilla.org/MPL/
  11.  
  12.  Software distributed under the License is distributed on an "AS IS" basis,
  13.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  14.  for the specific language governing rights and limitations under the
  15.  License.
  16.  
  17.  The Original Code is mozilla.org code.
  18.  
  19.  The Initial Developer of the Original Code is
  20.  Netscape Communications Corporation.
  21.  Portions created by the Initial Developer are Copyright (C) 2000
  22.  the Initial Developer. All Rights Reserved.
  23.  
  24.  Contributor(s):
  25.    David Bienvenu          <bienvenu@netscape.com>
  26.    Doron Rosenberg         <doronr@naboonline.com>
  27.    Lorenzo Colitti         <lorenzo@colitti.com>
  28.    Stefan Borggraefe       <Stefan.Borggraefe@gmx.de>
  29.  
  30.  Alternatively, the contents of this file may be used under the terms of
  31.  either of the GNU General Public License Version 2 or later (the "GPL"),
  32.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  33.  in which case the provisions of the GPL or the LGPL are applicable instead
  34.  of those above. If you wish to allow use of your version of this file only
  35.  under the terms of either the GPL or the LGPL, and not to allow others to
  36.  use your version of this file under the terms of the MPL, indicate your
  37.  decision by deleting the provisions above and replace them with the notice
  38.  and other provisions required by the GPL or the LGPL. If you do not delete
  39.  the provisions above, a recipient may use your version of this file under
  40.  the terms of any one of the MPL, the GPL or the LGPL.
  41.  
  42.  ***** END LICENSE BLOCK ***** -->
  43.  
  44. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  45.  
  46. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/folderProps.dtd">
  47.  
  48. <dialog
  49.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  50.   title="&folderProps.windowtitle.label;"
  51.   buttons="accept,cancel"
  52.   onload="folderPropsOnLoad()" style="width: 36em;"
  53.   ondialogaccept="return folderPropsOKButton();">
  54.  
  55.   <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
  56.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  57.   <script type="application/x-javascript" src="chrome://messenger/content/retention.js"/>
  58.   <script type="application/x-javascript" src="chrome://messenger/content/folderProps.js"/>
  59.   <script type="application/x-javascript">
  60.   <![CDATA[
  61.     var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
  62.     observerService.notifyObservers(null, "charsetmenu-selected", "other");
  63.   ]]>
  64.   </script>
  65.  
  66. <tabbox>
  67.   <tabs>
  68.     <tab id="GeneralTab" label="&generalInfo.label;"/>
  69.     <tab id="Retention" label="&retention.label;"/>
  70.     <tab hidefor="movemail,pop3,rss,none" hidable="true" id="OfflineTab" label="&folderOfflineTab.label;"/>
  71.     <tab hidefor="movemail,pop3,rss,none,nntp" hidable="true" id="SharingTab" label="&folderSharingTab.label;"/>
  72.     <tab hidefor="movemail,pop3,rss,none,nntp" hidable="true" id="QuotaTab" label="&folderQuotaTab.label;"/>
  73.   </tabs>
  74.   <tabpanels id="folderPropTabPanel">
  75.     <vbox>
  76.       <hbox id="nameBox" align="center">
  77.         <label value="&folderProps.name.label;" for="name"
  78.                accesskey="&folderProps.name.accesskey;" control="name"/>
  79.         <textbox id="name" readonly="true" oninput="doEnabling();" flex="1"/>
  80.       </hbox>
  81.       
  82.       <vbox>
  83.         <hbox align="center" valign="middle">
  84.           <label value="&folderCharsetTab.label;" control="folderCharsetList"
  85.                  accesskey="&folderCharsetTab.accesskey;"/>
  86.           <menulist id="folderCharsetList" ref="NC:DecodersRoot" datasources="rdf:charset-menu"> 
  87.             <template>
  88.               <menupopup>
  89.                 <menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
  90.               </menupopup>
  91.             </template>
  92.           </menulist>
  93.         </hbox> 
  94.         <checkbox class="indent" id="folderCharsetOverride"
  95.                   label="&folderCharsetOverride.label;"
  96.                   accesskey="&folderCharsetOverride.accesskey;"/>
  97.         <checkbox hidable="true" hidefor="movemail,pop3,none,nntp"
  98.                   class="indent" id="folderCheckForNewMessages"
  99.                   label="&folderCheckForNewMessages.label;"
  100.                   accesskey="&folderCheckForNewMessages.accesskey;"/>
  101.       </vbox>
  102.     </vbox>
  103.  
  104.     <vbox align="start">  
  105.     <description class="desc">&retentionCleanup.label;</description>
  106.  
  107.         <hbox align="center" class="indent">
  108.           <checkbox wsm_persist="true" id="retention.useDefault" accesskey="&retentionUseDefault.accesskey;"
  109.               label="&retentionUseDefault.label;" checked="true" oncommand="onUseDefaultRetentionSettings()"/>
  110.         </hbox>
  111.           <vbox class="indent">
  112.             <radiogroup wsm_persist="true" id="retention.keepMsg" class="indent">
  113.               <radio wsm_persist="true" value="1" accesskey="&retentionKeepAll.accesskey;"
  114.                       label="&retentionKeepAll.label;" oncommand="onCheckKeepMsg();"/>
  115.               <hbox flex="1" >
  116.                 <radio wsm_persist="true" accesskey="&retentionKeepNew.accesskey;" 
  117.                         value="3" label="&retentionKeepNew.label;" oncommand="onCheckKeepMsg();"/>
  118.                 <textbox wsm_persist="true" id="retention.keepNewMsgMin" size="2" value="30"/>
  119.                 <label value="&message.label;"/>
  120.               </hbox>
  121.               <hbox flex="1">
  122.                 <radio wsm_persist="true" accesskey="&retentionKeepMsg.accesskey;"
  123.                         value="2" label="&retentionKeepMsg.label;" oncommand="onCheckKeepMsg();"/>
  124.                 <textbox wsm_persist="true" id="retention.keepOldMsgMin" size="2" value="30"/>
  125.                 <label value="&daysOld.label;"/>
  126.               </hbox>
  127.             </radiogroup>
  128.             <hbox>
  129.               <checkbox wsm_persist="true" id="retention.keepUnread" accesskey="&retentionKeepUnread.accesskey;"
  130.               label="&retentionKeepUnread.label;" observes="retention.keepMsg" checked="true"/>
  131.             </hbox>
  132.         </vbox>
  133.     </vbox>
  134.  
  135.     <vbox hidable="true" hidefor="movemail,pop3,rss,none" valign="top" align="start">
  136.       <vbox>
  137.         <checkbox iscontrolcontainer="true" hidable="true"  
  138.                   wsm_persist="true" id="offline.selectForOfflineFolder"  
  139.                   hidefor="nntp" label="&offlineFolder.check.label;"
  140.                   accesskey="&offlineFolder.check.accesskey;"/>
  141.         <checkbox iscontrolcontainer="true" hidable="true" 
  142.                   wsm_persist="true" id="offline.selectForOfflineNewsgroup" 
  143.                   hidefor="imap" label="&selectofflineNewsgroup.check.label;"
  144.                   accesskey="&selectofflineNewsgroup.check.accesskey;"/>
  145.       </vbox>
  146.       <button iscontrolcontainer="true" hidable="true" label="&offlineFolder.button.label;" 
  147.               oncommand="onOfflineFolderDownload();" accesskey="&offlineFolder.button.accesskey;" 
  148.               id="offline.offlineFolderDownloadButton" hidefor="nntp" orient="right"/>
  149.       <button iscontrolcontainer="true" hidable="true" label="&offlineNewsgroup.button.label;" 
  150.               oncommand="onOfflineFolderDownload();" accesskey="&offlineNewsgroup.button.accesskey;" 
  151.               id="offline.offlineNewsgroupDownloadButton" hidefor="imap" orient="right"/>
  152.     </vbox>
  153.     <vbox hidable="true" hidefor="movemail,pop3,none,rss,nntp" valign="top" align="start">
  154.       <hbox>
  155.       <label value="&folderType.label;" id="folderTypeLabel"/>
  156.       <label value="" id="folderType.text"/>
  157.       </hbox>
  158.       <label value="" id="folderDescription.text"/>
  159.       <label value=" " />
  160.       <label value="&permissionsDesc.label;" id="permissionsDescLabel"/>
  161.       <description id="folderPermissions.text"></description>
  162.       <spacer flex="100%"/>
  163.       <button iscontrolcontainer="true" hidable="true" label="&privileges.button.label;" 
  164.               oncommand="onFolderPrivileges();" accesskey="&privileges.button.accesskey;" 
  165.               id="imap.FolderPrivileges" hidefor="movemail,pop3,none,rss,nntp" orient="right"/>
  166.     </vbox>
  167.     <vbox hidable="true" hidefor="pop3,none,rss,nntp" valign="top">
  168.       <label id="folderQuotaStatus" flex="1"/>
  169.  
  170.       <grid id="folderQuotaData" hidden="true" flex="1">
  171.         <columns>
  172.           <column/>
  173.           <column flex="1"/>
  174.         </columns>
  175.         <rows>
  176.           <row align="center">
  177.             <label value="&folderQuotaRoot.label;"/>
  178.             <textbox id="quotaRoot" readonly="true"/>
  179.           </row>
  180.           <row>
  181.             <label value="&folderQuotaUsage.label;"/>
  182.             <description id="quotaUsedFree"/>
  183.           </row>
  184.           <row align="center">
  185.             <label value="&folderQuotaStatus.label;"/>
  186.             <hbox align="center">
  187.               <progressmeter id="quotaPercentageBar" mode="determined" value="0%"/>
  188.               <label id="quotaPercentUsed"/>
  189.             </hbox>
  190.           </row>
  191.         </rows>
  192.       </grid>
  193.      </vbox>
  194.   </tabpanels>
  195. </tabbox>
  196.  
  197. </dialog>
  198.